package org.jacp.demo.util;

import java.io.File;
import java.io.FileFilter;

public class ImageFileFilter implements FileFilter {
    @Override
    public boolean accept(final File f) {
	return f.getName().toLowerCase().endsWith(".jpg");
    }

    public String getDescription() {
	return "JPEG image";
    }
}
